package com.xinghanlaser.applet.base.auth.vo;

import com.xinghanlaser.applet.base.auth.entity.ResourceDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * <p>
 *
 * <p>
 *
 * @author: mftuo 陀铭峰
 * @since: 2024/4/30 10:24
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ResourceTreeVO extends ResourceDO {

    @ApiModelProperty("资源标签，用于树状下拉列表展示")
    private String label;

    @ApiModelProperty("子资源集")
    private List<ResourceTreeVO> children;
}
